using UnityEngine;

public class QualityDisplayRotLayer : MonoBehaviour
{
	public UISprite leftHandle;

	public UISprite rightHandle;

	public float maxRange = 0.25f;

	public void SetRange(float range)
	{
		float fillAmount = Mathf.Lerp(0f, maxRange, range);
		leftHandle.fillAmount = fillAmount;
		rightHandle.fillAmount = fillAmount;
	}

	public void SetDepth(int depth)
	{
		leftHandle.depth = depth;
		rightHandle.depth = depth;
	}

	public void SetColor(Color color)
	{
		leftHandle.color = color;
		rightHandle.color = color;
	}
}
